package com.itheima.service;

import com.itheima.domain.Visit;

import java.util.List;

/**
 * ClassName:VisitService
 * Package:com.itheima.service
 * Description:
 * Date:2020/3/24 14:18
 * User: snow
 */
public interface VisitService {
	public List<Visit> findAll() throws Exception;

	public List<Visit> findAll(int page, int size) throws Exception;

	void save(Visit visit);

	void delete(String id);

	List<Visit> findAll(int page, int size, Visit visit)throws Exception;

	Visit findById(String id);
}
